import http from "@/api/fetch";
export function getPartnerList(query)
{
   return http.post('/dispartner/getList.action',query);
}
export function getTradeList(query) {
  return http.post('/distrade/getList.action',query);
}
export function doTradeCreate(query){
   return http.post('/distrade/createOrder.action',query);
}
export function doPushTradeOrder(query)
{
  return http.post('/distrade/pushOrder.action',query);
}
export function doRemarkTradeOrder(query)
{
  return http.post('/distrade/doRemark.action',query);
}

export function doTypeTradeOrder(query)
{
  return http.post('/distrade/doType.action',query);
}
export function doShipTradeOrder(query)
{
  return http.post('/distrade/doShip.action',query);
}
export function doReviewTradeOrder(query)
{
  return http.post('/distrade/doReview.action',query);
}
export function doFinishTradeOrder(query)
{
  return http.post('/distrade/doFinish.action',query);
}

export function getStatusCountTradeOrder(query)
{
  return http.post('/distrade/getStatusCount.action',query);
}


export function getWaybillDetail(argument) {
  return http.post('/waybill/getDetail.action',query);
}
export function doWaybillCreate(query) {
  return http.post('/waybill/doSave.action',query);
}

export function getWaybillList(query) {
  return http.post('/waybill/getList.action',query);
}
